Get Campaigns
AutomatR.TFMailchimp.Activities.GetCampaigns
The "Get Campaigns" activity in AutomatR is part of the Mailchimp Campaign activities package, allowing users to retrieve a list of campaigns associated with their Mailchimp account.
Properties
Name | Description |
---|---|
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Get Campaigns" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
Campaign Response | Outputs a list of campaign details, including names and statuses, associated with the Mailchimp account. Variables of type List<MailChimp.Net.Models.Campaign> to store the list of campaigns. |
How to use:
- Drag and drop the "Get Campaigns" activity onto the workflow.
- Optionally, configure the delay property.
- Execute the workflow to retrieve the list of campaigns associated with the Mailchimp account.
- The result, a list of campaign details, will be stored in the variable specified for "Campaign Response."
Example: Consider an example where the "Get Campaigns" activity is used to retrieve the list of campaigns associated with the Mailchimp account:
Get Campaigns:
Delay: 2
Campaign Response: campaignList
In this example, the activity retrieves the list of campaign details associated with the Mailchimp account. The list of campaign details is stored in the variable "campaignList" for further handling in the workflow.